<template>
    <!-- 选择对象弹出框 -->
    <el-dialog :visible.sync="assignAllDialogVisible" width="70%" append-to-body title="选择对象">
        <el-tabs type="border-card">
            <el-tab-pane label="部门">
                <assignBranch/>
            </el-tab-pane>
            <el-tab-pane label="人员">
                <assignPeople/>
            </el-tab-pane>
        </el-tabs>
        <div slot="footer" class="dialog-footer">
            <el-button  @click="dialogVisible = false">取 消</el-button>
            <el-button  type="primary" @click="dialogVisible = false">确 定</el-button>
        </div>
    </el-dialog>
</template>

<script>
  import assignPeople from './assignPeople'
  import assignBranch from './assignBranch'

  export default {
    name: 'assignAll',
    data () {
      return {
        assignAllDialogVisible: false
      }
    },
    methods: {},
    components: {assignPeople, assignBranch}

  }
</script>

<style scoped>

</style>